home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d7 / exechk.arc / EXECHK.DEF < prev    next >
Text File  |  1990-12-06  |  1KB  |  25 lines

  1. (*******************************************************************
  2. EXE FILE HEADER INFO
  3. *******************************************************************)
  4. CONST
  5.    DefaultFileMode           : byte = 0 ;        (* Default to DOS 2.x *)
  6.    DefaultWriteMode          : byte = 2 ;        (* Default to DOS 2.x *)
  7. TYPE
  8.    ExeHeaderRec =                      (* Information describing EXE file *)
  9.    record
  10.       Signature              : word ;  (* EXE file signature *)
  11.       LengthRem              : word ;  (* Number of bytes in last page of EXE image *)
  12.       LengthPages            : word ;  (* Number of 512 byte pages in EXE image *)
  13.       NumReloc               : word ;  (* Number of relocation items *)
  14.       HeaderSize             : word ;  (* Number of paragraphs in EXE header *)
  15.       MinHeap,
  16.       MaxHeap                : word ;  (* Paragraphs to keep beyond end of image *)
  17.       StackSeg,
  18.       StackPtr               : word ;  (* Initial SS:SP, StackSeg relative to image base *)
  19.       CheckSum               : word ;  (* EXE file check sum, not used *)
  20.       IpInit,
  21.       CodeSeg                : word ;  (* Initial CS:IP, CodeSeg relative to image base *)
  22.       RelocOfs               : word ;  (* Bytes into EXE for first relocation item *)
  23.       OverlayNum             : word ;  (* Overlay number, not used here *)
  24.    end ;
  25.